# -*- coding = utf-8 -*-
# @TIME:2024/10/11 10:05
# @Author:月的第一话
# @File:demo1.py
# @Software:PyCharm
def is_prime(n):
    if n<2:
        return False
    for i in range(2,int(n**0.5)+1):
        if n%i==0:
            return False
    return True
print(is_prime(30))
def factotial(n):
    if n==0:
        return 1
    else:
        return n*factotial(n-1)